[24.10] batman-adv: merge bugfixes from 2026.2#1178
Draft
ecsv wants to merge 1 commit into
Draft
Conversation
* batman_iv: stop caching unowned originator pointers * batman_iv: fix integer overflow on buff_pos * batman_iv: avoid bonding logic for outgoing OGM * batman_iv: recover OGM scheduling after forward packet error * batman_v: stop OGMv2 on disabled interface * batman_v: prevent ELP transmission interval underflow * batman_v: prevent OGM aggregation on disabled hardif * bla: prevent use-after-free when deleting claims * bla: only purge non-released claims * bla: put backbone reference on failed claim hash insert * bla: fix report_work leak on backbone_gw purge * bla: avoid double decrement of bla.num_requests * bla: avoid NULL-ptr deref for claim via dropped interface * bla: annotate lasttime access with READ/WRITE_ONCE * dat: handle forward allocation error * frag: fix reassembly length accounting * frag: disallow unicast fragment in fragment * frag: ensure fragment is writable before modifying TTL * frag: avoid underflow of TTL * gw: clear current gateway during teardown * mcast: fix use-after-free in orig_node RCU release * ensure bcast is writable before modifying TTL * fix (m|b)cast csum after decrementing TTL * tp_meter: reject new sessions during teardown * tp_meter: stop sessions during mesh teardown * tp_meter: fix counter underflow during shutdown * tp_meter: fix tp_num leak on kmalloc failure * tp_meter: fix tp_vars reference leak in receiver shutdown * tp_meter: avoid use of uninit sender vars * tp_meter: directly shut down timer on cleanup * tp_meter: fix race condition in send error reporting * tp_meter: avoid role confusion in tp_list * tp_meter: keep unacked list in ascending ordered * tp_meter: initialize dup_acks explicitly * tp_meter: initialize dec_cwnd explicitly * tp_meter: avoid window underflow * tp_meter: avoid divide-by-zero for dec_cwnd * tp_meter: fix fast recovery precondition * tp_meter: handle seqno wrap-around for fast recovery detection * tp_meter: add only finished tp_vars to lists * tp_meter: use locking for all congestion control variables * tp_meter: initialize last_recv_time during init * tp_meter: restrict number of unacked list entries * tp_meter: annotate last_recv_time access with READ/WRITE_ONCE * tp_meter: prevent parallel modifications of last_recv * tp_meter: handle overlapping packets * tt: reject oversized local TVLV buffers * tt: fix negative tt_buff_len * tt: fix negative last_changeset_len * tt: fix TOCTOU race for reported vlans * tt: avoid empty VLAN responses * tt: prevent TVLV entry number overflow * tvlv: abort OGM send on tvlv append failure * tvlv: reject oversized TVLV packets Signed-off-by: Sven Eckelmann <sven@narfation.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintainer: @simonwunderlich
Compile tested: x86-64
Run tested: x86-64
Description:
batman-adv